package com.ddtech.business.dance.query;

import com.ddtech.business.dance.entity.StandardDance;
import com.ddtech.mybatisplus.annotaion.Eq;
import com.ddtech.mybatisplus.annotaion.Like;
import com.ddtech.mybatisplus.annotaion.OrderBy;
import com.ddtech.mybatisplus.enums.OrderByEnum;
import com.ddtech.mybatisplus.query.WebAbstractQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @version v1.0
 * @ClassName:StandardDanceQuery description：
 * @author:wei_zhang(xiao)
 * @date: 2024-07-16 13:24
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class StandardDanceQuery extends WebAbstractQuery<StandardDance> {

    @Eq
    @ApiModelProperty(value = "章节ID")
    private String courseChapterId;

    @Like
    @ApiModelProperty(value = "舞蹈名称")
    private String danceName;

    @OrderBy(orderBy= OrderByEnum.ASC)
    @ApiModelProperty(value = "排序时间")
    private Date createTime;


}
